package com.caigou.service;

import com.caigou.bean.cms.entity.BusinessCooperation;
import com.caigou.bean.cms.entity.CmsDictionary;
import com.caigou.bean.cms.entity.Feedback;
import com.caigou.bean.cms.entity.SeekReport;
import com.caigou.bean.cms.param.*;
import com.caigou.util.Result;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IClientsService {



    Result<Integer> saveCooperationClients(SaveCooperationParam param,String userId);

    Result<Integer> handelCooperationClients(SaveCooperationParam param,String userId);

    Result<PageInfo<BusinessCooperation>> findCooperationClients(CooperationParam param);

    Result<BusinessCooperation> findCooperationClientById(Integer id);

    Result<Integer> saveReportClients(SaverReportParam param, String userid);

    Result<Integer> handelReportClients(SaveCooperationParam param,String userId);

    Result<PageInfo<SeekReport>> queryReportClients(SeekReportParam param);

    Result<SeekReport> queryReportClient(Integer id);

    Result<List<CmsDictionary>> findIndustryDic();

    Result testPicSpecial();

    Result<List<CmsDictionary>> findProjectDic();

    Result<Integer> saveFeedback(FeedbackParam param,String userid);

    Result<List<CmsDictionary>> findFeedbackType();

    Result<PageInfo<Feedback>> findFeedbackList(FeedbackParam param);

    Result<Feedback> findFeedbackDetail(FeedbackParam param);

    Result<Integer> batchFeedbackDealWith(List<Integer> ids,String userid);

    Result<Integer> feedbackDealWith(FeedbackParam param, String userid);

    int getCooperationCountByHandleStatus(int handleStatus);

    int getReportCountByHandleStatus(int handleStatus);

    int getFeedbackCountByHandleStatus(int handleStatus);
}
